package com.cc.user.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cc.user.entity.DemandnoteEntity;
import com.cc.user.vo.DemandVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DemandVoDao {
    //Page<DemandVo> selectDemandVoPage(@Param("page") int page, @Param("limit") int limit);

    IPage<DemandVo> selectDemandVoPage(IPage<DemandVo> page,
                                 @Param(Constants.WRAPPER) Wrapper<DemandVo> queryWrapper);
}
